package com.study.mybatis.pojo;

public class TbUser {
	
	private Integer id ;
	private String userName ;
	private String password ;
	
	public TbUser() {
		super();
	}
	
	public TbUser(String userName, String password) {
		this.userName = userName;
		this.password = password;
	}
	
	public TbUser(Integer id, String userName, String password) {
		this.id = id;
		this.userName = userName;
		this.password = password;
	}

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}

	@Override
	public String toString() {
		return "TbUser [id=" + id + ", userName=" + userName + ", password=" + password + "]";
	}
	

}
